﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="User_msg.ascx.cs" Inherits="newBlog.User.User_msg" %>


<script src="/js/user/user_msg.js?<%=DateTime.Now.ToString("yyyyMMddHHmmssffff") %>"></script>
<div class="layui-row">
欢迎您：<span style="color:#FF5722"><%=Session["user_name"] %></span> 您是本站的：<span style="color:#FF5722"><%=Convert.ToInt32(Session["user_grade"])==1?"管理员":Convert.ToInt32(Session["user_grade"])==2?"作者":"订阅者" %></span> 您当前系统时间为：<span style="color:#FF5722"><%=DateTime.Now.ToString("yyyy年MM月dd日HH时mm分ss秒") %></span>
</div><!--头部信息-->
<div class="layui-row RowSpace">
<blockquote class="layui-elem-quote">公告：<%=Application["notice1"] %></blockquote>
<blockquote class="layui-elem-quote">公告：<%=Application["notice2"] %></blockquote>
</div><!--公告区-->
<div class="layui-row layui-col-space1 RowSpace">
<div class="layui-row">
<div class="layui-card">
  <div class="layui-card-header">粉丝列表</div>
  <div class="layui-card-body">
    <table id="fansList"  lay-filter="fansList"></table>

  </div>
</div>

<div class="layui-card">
  <div class="layui-card-header">关注列表</div>
  <div class="layui-card-body">
    <table id="followList"  lay-filter="followList"></table>

  </div>
</div>

<script>
RenderTable("#fansList",'','/CenterInc/view_json/fans_follow_json.aspx?mode=2',true,[[
    {field: 'User_id', title: '用户id', sort: true, fixed: 'left'}
    ,{field: 'User_name', title: '用户名'}
    ,{field: 'Article_count', title: '文章数', sort: true}
    ,{field: 'Grade', title: '权限'}
    ,{field: 'Level', title: '等级'}

]],20,'','post');/*粉丝列表*/
RenderTable("#followList",'','/CenterInc/view_json/fans_follow_json.aspx?mode=1',true,[[
   {field: 'User_id', title: '用户id', sort: true, fixed: 'left'}
       ,{field: 'User_name', title: '用户名'}
       ,{field: 'Article_count', title: '文章数', sort: true}
       ,{field: 'Grade', title: '权限'}
       ,{field: 'Level', title: '等级'}

]],20,'','post');/*关注列表*/
</script>

</div>
</div><!--内容主体-->